const router = require('koa-router')()
const { follow, unFollow, totalFans } = require('../controllers/Fans/index')
router.prefix('/fans')

// 关注作者
router.post('/follow', follow)

// 取关作者
router.post('/unFollow', unFollow)

// 取关作者
router.post('/totalFans', totalFans)


module.exports = router